package com.liliya.pojo;

import java.io.Serializable;

public class Emp  implements Serializable{
	private static final long serialVersionUID = 8570547940680242131L;
	private int empno;
	private String ename;
	public Emp( int empno, String ename) {
		this.empno = empno;
		this.ename = ename;
	}
	public int getEmpno() {
		return empno;
	}
	public void setEmpno(int empno) {
		this.empno = empno;
	}
	public String getEname() {
		return ename;
	}
	public void setEname(String ename) {
		this.ename = ename;
	}

	@Override
	public String toString() {
		return "Emp{" +
				"empno=" + empno +
				", ename='" + ename + '\'' +
				'}';
	}
}
